//
//  StreamEngine.h
//  viewtest
//
//  Created by xy on 10-3-17.
//  Copyright 2010 HANDPAY. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Utility.h"

@interface StreamEngine : NSObject {
	NSMutableDictionary * memoryPool;
}
@property (nonatomic, retain) NSMutableDictionary * memoryPool;

-(NSData *)getInputFromPackage:(NSString *)urlstr;
-(void)PushMemory:(NSData *)data withKey:(NSString *)key;
-(void)ReleaseMemory:(NSString *)key;
-(NSData *)getData:(NSString *)url withType: (URLStype)type;
-(void)saveData:(NSData *)data withurl:(NSString *)url withType: (URLStype)type;
-(void)DeleteCache;
@end
